//
//  BFashionWebController.m
//  WANNA
//
//  Created by lanou3g on 16/5/5.
//  Copyright © 2016年 浮夸. All rights reserved.
//

#import "BFashionWebController.h"

@interface BFashionWebController ()
@property (nonatomic,strong)UIWebView *detialWebView;
@end

@implementation BFashionWebController

- (void)viewDidLoad {
    [super viewDidLoad];
   
    self.title=self.titl;
    self.detialWebView = [[UIWebView alloc]initWithFrame:self.view.bounds];
    [self.view addSubview:self.detialWebView];
    NSURL *urlStr  = [NSURL URLWithString:self.publishUrl];
    dispatch_async(dispatch_get_main_queue(), ^{
        [self.detialWebView loadRequest:[NSURLRequest requestWithURL:urlStr]];
    });
    

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
